package exercises.Test_4;

public class Calculator {
    //加法运算
    public double addition(double a,double b){
        double c=a+b;
        return c;
    }
    //减法运算
    public double subtraction(double a, double b){
        double c=a-b;
        return c;
    }
    //乘法运算
    public double multiplication(double a, double b){
        double c=a*b;
        return c;
    }
    //除法运算
    public double division(double a, double b){
        double c=a/b;
        return c;
    }
}
